package com.sky.service;

import com.fasterxml.jackson.databind.util.BeanUtil;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.BeanUtils;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);


     /**
       * @Param: 增加员工
       * @Return
       * @Date: 2025/10/16 16:54
       */
    void save(EmployeeDTO dto);

    PageResult getPage(EmployeePageQueryDTO dto);

    void empStatus(Integer status, Long id);

    Employee getEmp(Integer id);

    void serEmp(EmployeeDTO employeeDTO);
}
